---
title: VisProtection Enumeration (Visio)
keywords: vis_sdr.chm70335
f1_keywords:
- vis_sdr.chm70335
ms.prod: visio
ms.assetid: e998fe58-94a4-4191-70ba-1cdc25058f37
ms.date: 06/08/2017
---


# VisProtection Enumeration (Visio)

Flags to be passed to or returned by the  **Document.Protection** property.



|**Constant**|**Value**|**Description**|
|:-----|:-----|:-----|
| **visProtectBackgrounds**|&;H8|Protect document backgrounds from user customization.|
| **visProtectMasters**|&;H4|Protect document masters from user customization.|
| **visProtectNone**|&;H0|Document is unprotected.|
| **visProtectPreviews**|&;H10|Protect document previews from user customization.|
| **visProtectShapes**|&;H2|Protect document shapes from user customization.|
| **visProtectStyles**|&;H1|Protect document styles from user customization.|

